 <%csharp%>get_cache_html("index");<%/csharp%>
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
<meta charset="utf-8" />
<title>{config.webtitle}</title>
<%set (int){channel_id}=0%>
<meta name="description" content="{config.webdescription} " />
<meta name="keywords" content="{config.webkeyword} " />
<meta content="Copyright 2012 ihongma.com" name="copyright" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="{config.templateskin}/css/global.css" type="text/css" media="screen" />
<script type=text/javascript src="{config.templateskin}/js/jquery-1.7.1.min.js"></script>

<!--[if lt IE 9]><script src="{config.templateskin}/js/html5.js"></script><![endif]-->
<!--png图片-->
<!--[if lte IE 6]>
<script src="{config.templateskin}/js/DD_belatedPNG_0.0.7a.js" type="text/javascript"></script><script type="text/javascript">
DD_belatedPNG.fix('h1, a, h2, h3, div, img, .guideDiv ');
</script>
<![endif]-->
</head>
<body>

 <%template src=/header.html/%>
 <%csharp%>
  ihongma.Web.Plugin.Advert.BLL.advert_banner bbll = new ihongma.Web.Plugin.Advert.BLL.advert_banner();
          DataTable dsbar = bbll.GetList(4,"is_lock=0 and datediff('d',start_time,now())>=0 and datediff('d',end_time,now())<=0 "," add_time desc").Tables[0];
   <%/csharp%>
<div class="inside">
  <div class="topsite">
    <div class="marquee_default mdl3">
      <div class="marquee_">
        <div class=marquee_img_vertical id=marquee_d137098e733>
        
          <div class=marquee_bg>
            <%loop bar1 dsbar%>
            <div class="marquee_text hide" id=marquee_{bar1__loop__id}_div>
              <h2><a href="{bar1[link_url]}"><span>{bar1[title]}</span></a></h2>
              <p>{bar1[content]}</p>
            </div>  
            <%/loop%>          
           
            
          </div>
          
          <ul class=marquee_content id=marquee_imgid_d137098e733>
           <%loop bar dsbar%>
            <li class=marquee_images id=marquee_{bar__loop__id} size="default">
              <div><a class=marquee_img href="{bar[link_url]}"><img alt="" width="470px" src="{bar[file_path]}" ></a></div>
            </li>
             <%/loop%> 
           
          </ul>
          
        </div>
        <div class=marquee_list_vertical>
          <div class=vertical id=marquee_navid_d137098e733>
            <%loop bar2 dsbar%>
            <a href="{bar2[link_url]}"><span class="marquee_thumb_vertical"><span>{bar2[title]}</span><img height=50 alt="" src="{bar2[file_path]}" ></span></a>
             <%/loop%> 
           
          </div>
        </div>
      </div>
     
    <script src="{config.templateskin}/js/page.js" type="text/javascript"></script>
    
    <script type=text/javascript src="{config.templateskin}/js/ihongma_p.js"></script>
      <script type=text/javascript src="{config.templateskin}/js/jquery.cycle.js"></script>
      <script type=text/javascript>          marqueeTextInit('marquee_1', 'vertical'); $j('#marquee_imgid_d137098e733').cycle({ timeout: 5000, fx: 'scrollDown', speed: 500, pager: '#marquee_navid_d137098e733', pagerEvent: 'click mouseenter mouseleave', pauseOnPagerHover: 1, enableCustom: true, imageParentId: '#marquee_d137098e733', imageParentIdHover: true, before: marqueeBeforeShow, after: marqueeAfterShow, prefix: 'marquee', delay: 0 });</script> 
<!--     dasfdsa-->
    </div>
  </div>
  <div class="content" style="position:relative;">
   <ul class="guideDiv" id="guideDivfirst">
      <p><a href="javascript:scrollToGuide('#guideDivsecond','.pag');">下一步</a></p>
      <span><a href="javascript:closeID('#guideDivfirst');">关闭引导</a></span>
    </ul>
    <ul class="ihm_guide" id="guideDiv_first">
      <div class="guide_go floatright"><a href="javascript:scrollToGuide('#guideDivfirst','#guideDiv_first');" title="立即体验" />如何获得网站？立即体验</a></div>
      <div class="tet floatleft">鸿马是网站建设最好的来源，唯一的精心设计、海量js特效和精美图片。</div>
      <div class="servicesNav floatleft">
        <ul>
        <a class="btn1" href="/services/show/strategy.aspx">鸿马策划</a>
        <a class="btn2" href="/services/show/ue.aspx">鸿马-用户体验</a>
        <a class="btn3" href="/services/show/design.aspx">鸿马设计</a>
        <a class="btn4" href="/services/show/development.aspx">鸿马开发</a>
        <a class="btn5" href="/services/show/marketing.aspx">鸿马营销</a>
        </ul>
      </div>
    </ul>
      
    <ul class="c_menu">
      <li class="all"><a href="<%linkurl("design_list1","")%>">所有网站</a></li>
      <li class="new"><a href="<%linkurl("design_list1","")%>">最新设计</a></li>
      <li class="tag"><a class="od_button" onClick="optag(this)">标签检索</a></li>
      <li class="search" onMouseOver="osmc()">
        <div class="search_mc"><input class="inputText" id="text" type="text"  onblur="if (value ==''){value='请输入关键字'}" onfocus="if (value =='请输入关键字'){value =''}" value="请输入关键字" value="请输入关键字" name=""/></div>
        <div class="search_btn"><input class="btnLogin" border="0" onclick="search()" type="image" src="{config.templateskin}/images/searchpic.gif"/></div>     
      </li>
      <li class="color_mc">
        <div class="titlecolor">按颜色浏览</div>
        <div class="menucolor">
           <span  class="color red"   rel="red" >红色</span>
          <span  class="color yellow" rel="yellow" >黄色</span>
          <span  class="color green" rel="green" >绿色</span>
          <span  class="color blue" rel="blue" >蓝色</span>
          <span  class="color orange" rel="orange">橙色</span>
          <span  class="color pink" rel="pink" >粉红</span>
          <span  class="color gray" rel="gray" >银色</span>
          <span  class="color white" rel="white" >白色</span>
          <span  class="color brown" rel="brown" >棕色</span>
          <span  class="color black" rel="black" >黑色</span>
		</div>
      </li>
      <li class="tag_mc">
        <div class="close"><a onClick="cltag(this)">关闭标签检索</a></div>
        <p class="tag_sub" id="systemtag">
        
        </p>
      </li>
    </ul>
   
    <ul class="c_listsites" id="content" >
   
     <%set (DataTable){article_list5}=get_website_list(11,12, "")%>
     <%loop adr5 article_list5%>
  <%csharp%>
    string locktex=adr5["state"].ToString()=="1"?"当前锁定状态，可以购买":"当前解锁状态";


    string lockclass = adr5["state"].ToString() == "1" ? "lock" : "unlock";
    <%/csharp%>
      <li class="list_site">
        <div class="website"><a href="<%linkurl("design_show",{adr5[id]})%>"><img src="{adr5[img]}" ></a></div>
        <div class="info"><a href="<%linkurl("design_show",{adr5[id]})%>"><span class="{lockclass}"></span><p>{locktex}</p></a></div>
        <div class="name"><a href="<%linkurl("design_show",{adr5[id]})%>">{adr5[name]}</a></div>
        <div class="state"><a class="{lockclass}" title="{locktex}">{locktex}</a></div>
        <div class="tag">标签: 
        
        <%set (DataTable){tag_list}=get_tags_list("id in ("+{adr5[tags]}+")")%>
        <%loop tagr1 tag_list%> <a href="<%linkurl("design_list2",{tagr1[id]},1)%>">{tagr1[name]}</a>
        
        <%/loop%></div>
      </li>
      <%/loop%>
    </ul>
    
    <!---->
    <div class="pag" id="pager">

    
    </div>
    <!---->
    
  </div>
  <div class="ajax_wrap" style="position:relative;">
    <ul class="guideDiv" id="guideDivsecond">
      <p><a href="javascript:scrollToGuide('#guideDivthird','.usual');">下一步</a></p>
      <span><a href="javascript:closeID('#guideDivsecond');">关闭引导</a></span>
    </ul>
    <ul class="ajax_menu">
      <li class="js_all"><a href="/ajax.aspx">JS特效</a></li>
      <li class="list_all"><a href="/ajax_all.aspx">全部分类</a></li>
      <li class="important"><a href="/ajax.aspx">JS特效在网站中的重要性!</a></li>
    </ul>
    
    <div class="usual">
      <ul class="idTabs">
           <%set (DataTable){aj_list}=newget_category_list(13,0)%>
     <%loop ajax5 aj_list%>
        <li><A href="#num_{ajax5[title]}">{ajax5[title]}</A></li>
        <%/loop%>
      </ul>
       <%loop zajax5 aj_list%>
        <div id="num_{zajax5[title]}">
        <%set (DataTable){aj_lists}=get_category_list(13, int.Parse({zajax5[id]}))%>
     <%loop ajaxz aj_lists%>
    <a href="<%linkurl("ajax_list",{ajaxz[id]},1)%>">{ajaxz[title]}</a>
          <%/loop%>
          </div>
          <%/loop%>
    

    </div>
  </div>
  <div class="pic_wrap" style="position:relative;">
    <ul class="guideDiv" id="guideDivthird">
      <p class="line_double">建设中..<br><a href="/contact_sub.aspx#comment_form" onClick="closeID('#guideDivthird');" target="_blank">联系我们</a></p>
      <span><a href="javascript:closeID('#guideDivthird');">关闭引导</a></span>
    </ul>
    <br>
    <ul class="ajax_menu">
        <li  class="js_all" >  <a  style="color:#D94650;" href="<%linkurl("photo_list1","")%>">
                       图片库 
                    </a></li> 
                     <%set (DataTable){category_list}=get_category_list(10, 0)%>
    <%loop cdr category_list%>
    <li class="list_all">
    
      <a  href="<%linkurl("photo_list",{cdr[id]},1)%>" >{cdr[title]}</a></li>
    <%/loop%>
    
    
    </ul>
    <div class="pic_w_mc">      
      <div class="scroll_button scroll_left"><<</div>
      <div class="scroll_button scroll_right">>></div>
      <div class="pic_w_mc_wrap">
        <div class="pic_w_mc_con" style="width:1458px;">
          <ul>
           <%set (DataTable){photo_list6}=get_photo_list(10, 0, 18, "is_lock=0")%>
     <%loop pdr6 photo_list6%>
     <li><a href="<%linkurl("photo_show",{pdr6[id]})%>"><img src="{pdr6[img_url]}" width="65" height="65" alt="{pdr6[title]}" /><strong>{pdr6[title]}</strong></a></li>
     <%/loop%>
          
          </ul>
        </div>
      </div>      
    </div>
  </div>
  <div class="file_wrap">
   <ul class="ajax_menu">
        <li class="js_all" ><a style="color:#D94650;" href="<%linkurl("article_list1","")%>" >
                        有趣的事
                    </a></li> 
                     <%set (DataTable){category_list1}=get_category_list(1, 0)%>
    <%loop cdr1 category_list1%>
    <li class="list_all">
    
      <a  href="<%linkurl("article_list",{cdr1[id]},1)%>" >{cdr1[title]}</a></li>
    <%/loop%>
    
    
    </ul>
    <ul class="file_list">
     <%set (DataTable){article_list}=get_article_list(1, 0, 12, "")%>
     <%loop adr4 article_list%>
     <li>
        <div><a href="<%linkurl("article_show",{adr4[id]})%>"><img  width="200px" src="{adr4[img_url]}" /></a></div>
        <h3><a href="<%linkurl("article_show",{adr4[id]})%>"><%cutstring({adr4[title]},22)%> </a></h3>
        <p><a href="<%linkurl("article_show",{adr4[id]})%>"><%cutstring({adr4[content]},89)%></a></p>
      </li>
     
     <%/loop%>
    
    </ul>
  </div>
</div>

<%template src=/footer.html/%>

</body>
</html>
 <%csharp%>set_page_caceh("index", templateBuilder.ToString()); <%/csharp%>